package com.eastfair.datasync.model;

import com.eastfair.core.datasync.DataSyncBuilder;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户全量数据同步
 */
@Data
public class UserAccountDataSync implements DataSyncBuilder {
    /**
     * 用户登录信息
     */
    @ApiModelProperty(value = "用户登录信息")
    private String msg;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    @Override
    public String getSyncName() {
        return SyncKeyDefinition.USER_ACCOUNT;
    }
}
